<template>
  <div>
    <button @click="getMockData">获取mock数据</button>
  </div>
</template>

<script>
export default {
  name: 'HelloWorld',
  methods: {
    getMockData() {
      this.$axios.get('/url/path').then(res => {
        console.log(res)
      })
    }
  }
}
</script>
<style scoped>

</style>
